<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<link rel="stylesheet" href="../../common.css">
<style>
  /* 1.conic-gradient实现 */
  div:nth-child(1) {
    width: 100px;
    height: 100px;
    background: conic-gradient(from 270deg at 40px 40px, #222 90deg, transparent 0deg)-20px -20px #000;
  }

  /* 2.clip-path */
  /* 3.box-shadow */
  div:nth-child(2) {
    width: 100px;
    height: 100px;
    background: #000;
  }
</style>

<body>
  <div></div>
  <div></div>
</body>
</html>